/**
 * 
 */
package kr.co.insoft.core.model.configration.connection;

import java.io.Serializable;

import kr.co.insoft.auth.model.security.User;

/**
 * @author skpark
 *
 */
public class ConnectionEntityModel implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 8668104765428116581L;

	String connectionid;
	String connectionName;
	String venderid;
	String venderName;
	String zoneSeq;
	String zoneName;
	String regionSeq;
	String regionName;
	String accessKey;
	String secretKey;
	String connectionDesc;	
	String securityGroupid;
	String securityGroupName;
	String keyName;
	String updatedDate;
	
	
	
	/* vender type info */
	String type;
	String typeSeq;
	String typeName;
	
	/* auth */
	long userid;
	String companyid;
	
	
	public void setAuth(User user) {
		this.userid = user.getId();
		this.companyid = user.getCompanyId();
	}
	
	
	/**
	 * @return the connectionid
	 */
	public String getConnectionid() {
		return connectionid;
	}
	/**
	 * @param connectionid the connectionid to set
	 */
	public void setConnectionid(String connectionid) {
		this.connectionid = connectionid;
	}
	/**
	 * @return the connectionName
	 */
	public String getConnectionName() {
		return connectionName;
	}
	/**
	 * @param connectionName the connectionName to set
	 */
	public void setConnectionName(String connectionName) {
		this.connectionName = connectionName;
	}
	/**
	 * @return the venderid
	 */
	public String getVenderid() {
		return venderid;
	}
	/**
	 * @param venderid the venderid to set
	 */
	public void setVenderid(String venderid) {
		this.venderid = venderid;
	}
	/**
	 * @return the zoneSeq
	 */
	public String getZoneSeq() {
		return zoneSeq;
	}
	/**
	 * @param zoneSeq the zoneSeq to set
	 */
	public void setZoneSeq(String zoneSeq) {
		this.zoneSeq = zoneSeq;
	}
	/**
	 * @return the zoneName
	 */
	public String getZoneName() {
		return zoneName;
	}
	/**
	 * @param zoneName the zoneName to set
	 */
	public void setZoneName(String zoneName) {
		this.zoneName = zoneName;
	}
	/**
	 * @return the regionSeq
	 */
	public String getRegionSeq() {
		return regionSeq;
	}
	/**
	 * @param regionSeq the regionSeq to set
	 */
	public void setRegionSeq(String regionSeq) {
		this.regionSeq = regionSeq;
	}
	/**
	 * @return the regionName
	 */
	public String getRegionName() {
		return regionName;
	}
	/**
	 * @param regionName the regionName to set
	 */
	public void setRegionName(String regionName) {
		this.regionName = regionName;
	}
	/**
	 * @return the accessKey
	 */
	public String getAccessKey() {
		return accessKey;
	}
	/**
	 * @param accessKey the accessKey to set
	 */
	public void setAccessKey(String accessKey) {
		this.accessKey = accessKey;
	}
	/**
	 * @return the secretKey
	 */
	public String getSecretKey() {
		return secretKey;
	}
	/**
	 * @param secretKey the secretKey to set
	 */
	public void setSecretKey(String secretKey) {
		this.secretKey = secretKey;
	}
	/**
	 * @return the connectionDesc
	 */
	public String getConnectionDesc() {
		return connectionDesc;
	}
	/**
	 * @param connectionDesc the connectionDesc to set
	 */
	public void setConnectionDesc(String connectionDesc) {
		this.connectionDesc = connectionDesc;
	}
	/**
	 * @return the securityGroupid
	 */
	public String getSecurityGroupid() {
		return securityGroupid;
	}
	/**
	 * @param securityGroupid the securityGroupid to set
	 */
	public void setSecurityGroupid(String securityGroupid) {
		this.securityGroupid = securityGroupid;
	}
	/**
	 * @return the securityGroupName
	 */
	public String getSecurityGroupName() {
		return securityGroupName;
	}
	/**
	 * @param securityGroupName the securityGroupName to set
	 */
	public void setSecurityGroupName(String securityGroupName) {
		this.securityGroupName = securityGroupName;
	}


	/**
	 * @return the keyName
	 */
	public String getKeyName() {
		return keyName;
	}
	/**
	 * @param keyName the keyName to set
	 */
	public void setKeyName(String keyName) {
		this.keyName = keyName;
	}
	/**
	 * @return the updatedDate
	 */
	public String getUpdatedDate() {
		return updatedDate;
	}
	/**
	 * @param updatedDate the updatedDate to set
	 */
	public void setUpdatedDate(String updatedDate) {
		this.updatedDate = updatedDate;
	}
	/**
	 * @return the type
	 */
	public String getType() {
		return type;
	}
	/**
	 * @param type the type to set
	 */
	public void setType(String type) {
		this.type = type;
	}
	/**
	 * @return the typeSeq
	 */
	public String getTypeSeq() {
		return typeSeq;
	}
	/**
	 * @param typeSeq the typeSeq to set
	 */
	public void setTypeSeq(String typeSeq) {
		this.typeSeq = typeSeq;
	}
	/**
	 * @return the typeName
	 */
	public String getTypeName() {
		return typeName;
	}
	/**
	 * @param typeName the typeName to set
	 */
	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}	
	/**
	 * @return the userid
	 */
	public long getUserid() {
		return userid;
	}
	/**
	 * @param userid the userid to set
	 */
	public void setUserid(long userid) {
		this.userid = userid;
	}
	/**
	 * @return the companyid
	 */
	public String getCompanyid() {
		return companyid;
	}
	/**
	 * @param companyid the companyid to set
	 */
	public void setCompanyid(String companyid) {
		this.companyid = companyid;
	}
}
